package com.dengyafei.mapper;

import com.dengyafei.bean.AccountBean;
import com.dengyafei.bean.AccountBeanExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 邓亚非
 */
@Mapper
public interface AccountBeanMapper {
    int countByExample(AccountBeanExample example);

    int deleteByExample(AccountBeanExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AccountBean record);

    int insertSelective(AccountBean record);

    List<AccountBean> selectByExample(AccountBeanExample example);

    AccountBean selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AccountBean record, @Param("example") AccountBeanExample example);

    int updateByExample(@Param("record") AccountBean record, @Param("example") AccountBeanExample example);

    int updateByPrimaryKeySelective(AccountBean record);

    int updateByPrimaryKey(AccountBean record);

    List<AccountBean> selectByIdAndPassWord(Integer id, String password);
}